using System;
using System.Collections.Generic;
using System.Linq;
 
namespace XpressNews.Models
{
    public class ArticleCategory
    {
        private String _id;
        private String _name;
        private List<Article> _articles;

        public ArticleCategory()
        {
        }

        public ArticleCategory(string id, string name, List<Article> articles)
        {
            this._id = id;
            this._name = name;
            this._articles = articles;
        }

        public string Id
        {
            get
            {
                return this._id;
            }
            set
            {
                this._id = value;
            }
        }

        public string Name
        {
            get
            {
                return this._name;
            }
            set
            {
                this._name = value;
            }
        }

        public List<Article> Articles
        {
            get
            {
                return this._articles;
            }
            set
            {
                this._articles = value;
            }
        }
    }
}